<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>ttcps: xttcps.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">ttcps
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xttcps_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">xttcps.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae49e15051a6bc16bc2a5369832f1a584"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#gae49e15051a6bc16bc2a5369832f1a584">XTtcPs_CfgInitialize</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, <a class="el" href="struct_x_ttc_ps___config.html">XTtcPs_Config</a> *ConfigPtr, u32 EffectiveAddr)</td></tr>
<tr class="memdesc:gae49e15051a6bc16bc2a5369832f1a584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a specific <a class="el" href="struct_x_ttc_ps.html" title="The XTtcPs driver instance data. ">XTtcPs</a> instance such that the driver is ready to use.  <a href="group__ttcps.html#gae49e15051a6bc16bc2a5369832f1a584">More...</a><br/></td></tr>
<tr class="separator:gae49e15051a6bc16bc2a5369832f1a584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga82c79564c7d223ff7e63acfdf7b43344"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga82c79564c7d223ff7e63acfdf7b43344">XTtcPs_Release</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga82c79564c7d223ff7e63acfdf7b43344"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine releases resources of <a class="el" href="struct_x_ttc_ps.html" title="The XTtcPs driver instance data. ">XTtcPs</a> instance/driver.  <a href="group__ttcps.html#ga82c79564c7d223ff7e63acfdf7b43344">More...</a><br/></td></tr>
<tr class="separator:ga82c79564c7d223ff7e63acfdf7b43344"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf400713723ba81109ac83fc1800681b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#gaf400713723ba81109ac83fc1800681b2">XTtcPs_SetMatchValue</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, u8 MatchIndex, XMatchRegValue Value)</td></tr>
<tr class="memdesc:gaf400713723ba81109ac83fc1800681b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to set the match registers.  <a href="group__ttcps.html#gaf400713723ba81109ac83fc1800681b2">More...</a><br/></td></tr>
<tr class="separator:gaf400713723ba81109ac83fc1800681b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e494683b5f905fdd8184192680b8a3c"><td class="memItemLeft" align="right" valign="top">XMatchRegValue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga1e494683b5f905fdd8184192680b8a3c">XTtcPs_GetMatchValue</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, u8 MatchIndex)</td></tr>
<tr class="memdesc:ga1e494683b5f905fdd8184192680b8a3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to get the value of the match registers.  <a href="group__ttcps.html#ga1e494683b5f905fdd8184192680b8a3c">More...</a><br/></td></tr>
<tr class="separator:ga1e494683b5f905fdd8184192680b8a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac08478cc050c41cc435a3f2b49b4c874"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#gac08478cc050c41cc435a3f2b49b4c874">XTtcPs_SetPrescaler</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, u8 PrescalerValue)</td></tr>
<tr class="memdesc:gac08478cc050c41cc435a3f2b49b4c874"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the prescaler enable bit and if needed sets the prescaler bits in the control register.  <a href="group__ttcps.html#gac08478cc050c41cc435a3f2b49b4c874">More...</a><br/></td></tr>
<tr class="separator:gac08478cc050c41cc435a3f2b49b4c874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d528bcd850e49f08fc585cb867ca11c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga9d528bcd850e49f08fc585cb867ca11c">XTtcPs_GetPrescaler</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga9d528bcd850e49f08fc585cb867ca11c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the input clock prescaler.  <a href="group__ttcps.html#ga9d528bcd850e49f08fc585cb867ca11c">More...</a><br/></td></tr>
<tr class="separator:ga9d528bcd850e49f08fc585cb867ca11c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40d86f052a231f2cd35d7e5136163039"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga40d86f052a231f2cd35d7e5136163039">XTtcPs_CalcIntervalFromFreq</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, u32 Freq, <a class="el" href="group__ttcps.html#ga53dc7ab3b92f330e5a47807febfcd26d">XInterval</a> *Interval, u8 *Prescaler)</td></tr>
<tr class="memdesc:ga40d86f052a231f2cd35d7e5136163039"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the interval value as well as the prescaler value for a given frequency.  <a href="group__ttcps.html#ga40d86f052a231f2cd35d7e5136163039">More...</a><br/></td></tr>
<tr class="separator:ga40d86f052a231f2cd35d7e5136163039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30d6a84844676b794d8cf1a43a727bac"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga30d6a84844676b794d8cf1a43a727bac">XTtcPs_InterruptHandler</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga30d6a84844676b794d8cf1a43a727bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles interrupts by resetting the counter value and clearing the status register.  <a href="group__ttcps.html#ga30d6a84844676b794d8cf1a43a727bac">More...</a><br/></td></tr>
<tr class="separator:ga30d6a84844676b794d8cf1a43a727bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fb59113e183b65dabff6e2c34bbf7e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#ga8fb59113e183b65dabff6e2c34bbf7e2">XTtcPs_SetStatusHandler</a> (<a class="el" href="struct_x_ttc_ps.html">XTtcPs</a> *InstancePtr, void *CallBackRef, XTtcPs_StatusHandler FuncPointer)</td></tr>
<tr class="memdesc:ga8fb59113e183b65dabff6e2c34bbf7e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the status callback function, the status handler, which the driver calls when it encounters conditions that should be reported to upper layer software.  <a href="group__ttcps.html#ga8fb59113e183b65dabff6e2c34bbf7e2">More...</a><br/></td></tr>
<tr class="separator:ga8fb59113e183b65dabff6e2c34bbf7e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gac913ca73956d600d4cced1b5cab30459"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_ttc_ps___config.html">XTtcPs_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ttcps.html#gac913ca73956d600d4cced1b5cab30459">XTtcPs_ConfigTable</a> [XPAR_XTTCPS_NUM_INSTANCES]</td></tr>
<tr class="memdesc:gac913ca73956d600d4cced1b5cab30459"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each TTC device in the system.  <a href="group__ttcps.html#gac913ca73956d600d4cced1b5cab30459">More...</a><br/></td></tr>
<tr class="separator:gac913ca73956d600d4cced1b5cab30459"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
